package model;

public enum Days {
    MONDAY("Понедельник", 1), TUESDAY("Вторник", 2), WEDNESDAY("Среда", 3),
    THURSDAY("Четверг", 4), FRIDAY("Пятница", 5), SATURDAY("Суббота", 6),  SUNDAY("Воскресенье", 7);
    
    private final int number;
    private final String name;
    private Days(String dayName, int dayNumber) {
    	name = dayName;
    	number = dayNumber;
	}
	public String getName() {
		return name;
	}
	public int getNumber() {
		return number;
	}
}
